package br.com.marcelo.reservasis.client.services.hospede;

import br.com.aroeirasoftware.gwtcomponents.client.query.ASQuery;
import br.com.aroeirasoftware.gwtcomponents.client.query.ASQueryResult;
import br.com.marcelo.reservasis.domain.model.Hospede;
import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 *
 * @author Marcelo Rodrigues
 */
public interface HospedeUIServiceAsync {

    public void salvar(Hospede arg0, AsyncCallback<Integer> asyncCallback);

    public void atualizar(Hospede arg0, AsyncCallback<Void> asyncCallback);

    public void excluir(Hospede arg0, AsyncCallback<Void> asyncCallback);

    public void getPorId(Integer arg0, AsyncCallback<Hospede> asyncCallback);

    public void getPorConsulta(ASQuery arg0, AsyncCallback<ASQueryResult<Hospede>> asyncCallback);
}
